package rest.home.entity.ms;

import java.util.List;

/**
 * @Author: ZZX
 * @Description:
 * @Date:Created in 11:08 2022/5/7
 * @Modified By:
 */
public class Limit<T> {
    private Integer olderLocal;
    private Integer olderNums;
    private Integer olderPage;

    public Limit() {
    }

    public Limit(Integer olderLocal, Integer olderNums, Integer olderPage, List<T> list) {
        this.olderLocal = olderLocal;
        this.olderNums = olderNums;
        this.olderPage = olderPage;
        this.list = list;
    }

    private List<T> list;

    public Integer getOlderLocal() {
        return olderLocal;
    }

    public void setOlderLocal(Integer olderLocal) {
        this.olderLocal = olderLocal;
    }

    public Integer getOlderNums() {
        return olderNums;
    }

    public void setOlderNums(Integer olderNums) {
        this.olderNums = olderNums;
    }

    public Integer getOlderPage() {
        return olderPage;
    }

    public void setOlderPage(Integer olderPage) {
        this.olderPage = olderPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
